Technical Q&A QTMTB06
MediaGetName

MediaGetName lets you retrieve the name of the media type. For example, the Video Media Handler will return the string "Video."

pascal ComponentResult MediaGetName(MediaHandler mh, Str255 name, long requestedLanguage, long *actualLanguage )

mh The Base Media Handler instance.

name The name of the media type.

requestLanguage Language you want it to return name in.

actualLanguage Language it returns the name in.

Errors:
badComponentInstance 0x80008001 Get a new component instance.

See also: QuickTime Technote QT4.

[May 01 1995]


Developer Documentation | Technical Notes | Development Kits | Sample Code